package thisIsPKQ

import "banzhuan_hb/services"

func PriceSched(step_symbol string,method string) ([]float64) {
	marketDepthReturn:=services.GetMarketDepth(step_symbol,"step0")
	switch method {
	case "SELL":
		return marketDepthReturn.Tick.Asks[0]
	case "BUY":
		return marketDepthReturn.Tick.Bids[0]
	default:
		return []float64{-1}
	}
}